package javazuoye4;

import java.util.ArrayList;
import java.util.Scanner;

public class zuoye1 {
    public static void main(String[] args) {
        ArrayList<Integer> a = new ArrayList<>();
        Scanner sc = new Scanner(System.in);
        int b=0;

        for (int i = 0;; i++) {
            int n = sc.nextInt();
            if(n>=1&&n<=100) {
                a.add(n);
                b += n;
                if (b >= 200) {
                    System.out.println("达到200");
                    break;
                }
            }
            else
            {
                System.out.println("输入错误");
                break;
            }
        }
    }
}
